package com.questionnaire.dao;

import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BaseDao<T> {

    //通过主键查找单条记录
    public T findOneByPk(String id);

    public List<T> findAllByPk(String id);
}
